<?php 
		$data['__field']="";
		foreach($data['fields'] as $vo){
$data['__field'].=<<<topstr

                <td class="light">{$vo['fieldname']}</td>
               
topstr;
	    }
		
		
		$data['__field2']="";
		foreach($data['fields'] as $vo){
$data['__field2'].=<<<topstr

                <td><a href="__URL__/{$data['tname']}content/{$data['key']}/{\$vo['{$data['key']}']}">{\$vo['{$vo['fieldname']}']}</a></td>
               
topstr;
	    }
		
		